﻿<UserControl x:Class="SchedulerControl.ScheduleDayViewControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:adorners="clr-namespace:SchedulerControl.Adorners"  mc:Ignorable="d"  MinHeight="50" MinWidth="50"
    >
    <Grid x:Name="LayoutRoot"  SizeChanged="LayoutRoot_SizeChanged" >
        
        <Canvas x:Name="dividersCanvas" Background="#FF525252" MouseMove="dividersCanvas_MouseMove" >            
        </Canvas>
        <Canvas x:Name="newItemCanvas"   MouseMove="dividersCanvas_MouseMove" MouseLeave="newItemCanvas_MouseLeave">
            <Button Name="btnNewItem" Style="{StaticResource MiniNewItemButton}" Content="ايجاد آيتم جديد"   Visibility="Collapsed" />
        </Canvas>
        <Canvas x:Name="panelDisplay" SizeChanged="panelDisplay_SizeChanged" MouseLeave="panelDisplay_MouseLeave" >           
        </Canvas>
        <Border BorderBrush="Silver" BorderThickness="1"  Name="border1"  />
        <adorners:CursorPlane x:Name='cursorPlane'   />        
    </Grid>
</UserControl>
